﻿<UserControl x:Class="QDP.Platform.Admin.AdminLogin"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid Width="400" Height="300">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="80"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Text="账号" Grid.Row="0"/>
            <TextBlock Text="密码" Grid.Row="1"/>
            
            <TextBox x:Name="txtAccount"      Grid.Column="1" Grid.Row="0" />
            <PasswordBox x:Name="txtPassword" Grid.Column="1" Grid.Row="1" />
            
            <Button Grid.Row="2" Grid.Column="1" Content="登录" Click="OnLoginClick"/>
        </Grid>
    </Grid>
</UserControl>
